Skip to content

fix(web): notices on Settings pages start below the page title and its buttons - #653

Merged
badcuban merged 1 commit into
mainfrom
fix/settings-notices-below-title
Oct 26, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/settings-notices-below-title

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Notices land in the top-right corner, which on Settings is where each page keeps its buttons: Providers' "Check again", "Open setup" and +, Keybindings, Agent Instructions, Diagnostics, the Plugins & Skills search box, and the phone's close button. Adding an account dropped its notice right on the + just clicked.

A page now marks the block notices must stay below with useNoticeClearanceRef (components/ui/noticeLayer.tsx). It publishes that block's bottom edge, measured as if the page were scrolled to the top, as --notice-top-clearance; with several marked blocks the lowest wins. The notice viewport's top becomes max(usual spot, clearance + 8px) and slides there in 200ms, so moving into or out of Settings doesn't jump. No per-page numbers.

Marked blocks: SettingsPageHeader (which also covers the Scheduled page and its "New task" button), the Plugins & Skills tabs + search block, and the phone Settings header. Leaving the page clears it.

Checked in an isolated dev app on a wide window and at phone width: notices sit below each Settings page's title row, stay put while scrolling, and return to the usual spot outside Settings. A new browser test fails without the change. vp fmt, vp lint, vp run typecheck, and the toast, Settings and Scheduled browser tests pass.

…s buttons

Notices land in the top-right corner, which on Settings is where each page
keeps its buttons: Providers' Check again, Open setup and +, Keybindings,
Agent Instructions, Diagnostics, the Plugins & Skills search box, and the
phone's close button. Adding an account dropped its notice on the + just
clicked.

A page now marks the block notices must stay below (`useNoticeClearanceRef`).
It publishes that block's bottom edge, measured as if the page were scrolled
to the top, and the notice stack starts below the lowest marked block,
sliding there. SettingsPageHeader marks itself (which also covers the
Scheduled page), Plugins & Skills marks its tabs and search, and the phone
Settings header marks itself. Leaving the page clears it.
@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Oct 26, 2026 4:49am UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit b9b0906 Oct 26, 2026
21 checks passed
@badcuban
badcuban deleted the fix/settings-notices-below-title branch October 26, 2026 05:00

This branch was previously deployed

1 inactive deployment
Preview — 2fa3b43d Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant